2.1- Multiple Inputs
2.1 Why Multiple Inputs?
A real problem usually depends on multiple factors.
Example:
x₁ = house size
x₂ = bedrooms
A neuron can use all of them.
3.2 Multiple-Input Neuron
Single input:
Multiple inputs:
- Weight → controls how strongly an input affects the output.
- Positive weight → increasing input increases prediction.
- Negative weight → increasing input decreases prediction.
- Bias → shifts the output.
3.4 General Formula
For 3 inputs:
Gradient descent still works:
Each weight gets its own gradient.
For:
and:
we get:
In general:
Bias remains: